package com.letu.uid.baidu.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.letu.annotation.annotation.vo.VoInfo;
import com.letu.annotation.model.BaseVoGroupClass;

import java.io.Serializable;

/**
 * <p>
 * 实体类
 * DB WorkerID Assigner for UID Generator
 * </p>
 *
 * @author ligang
 * @since 2023-09-08
 */
@Data
@ApiModel(value = "WorkerNodeVO", description = "DB WorkerID Assigner for UID Generator")
public class WorkerNodeOfUid implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * host name
     */
    @ApiModelProperty(value = "host name")
    private String hostName;
    /**
     * port
     */
    @ApiModelProperty(value = "port")
    private String port;
    /**
     * node type: ACTUAL or CONTAINER
     */
    @ApiModelProperty(value = "node type: ACTUAL or CONTAINER")
    private Integer type;
    /**
     * launch date
     */
    @ApiModelProperty(value = "launch date")
    private LocalDate launchDate;
    /**
     * modified time
     */
    @ApiModelProperty(value = "modified time")
    private LocalDateTime modified;
    /**
     * created time
     */
    @ApiModelProperty(value = "created time")
    private LocalDateTime created;
}
